package com.njbdqn.springajax.service;

import java.text.SimpleDateFormat;
import java.util.Date;

import org.springframework.stereotype.Service;

@Service
public class NormalService {
			public synchronized String getNewName(String oldname){
//				SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd");
				return new Date().getTime()+oldname.substring(oldname.indexOf("."));
			}
}
